c program to calculate the factorial of the number using while loop